package com.yq.ylmall.dto.order;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yq.ylmall.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Project: yourlife
 * @Name: OrderItemDto
 * @Author: Jack_Li
 * @Date: 2024/6/11 15:44
 */
@Data
@ApiModel(value="OrderItemDto对象", description="订单项信息")
public class OrderItemDto extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "order_id")
    private Long orderId;

    @ApiModelProperty(value = "商品id")
    private Long productId;

    @ApiModelProperty(value = "商品sku编号")
    private String skuId;

    @ApiModelProperty(value = "商品sku名字")
    private String skuName;

    @ApiModelProperty(value = "商品sku图片")
    private String thumbImg;

    @ApiModelProperty(value = "商品sku价格")
    private BigDecimal skuPrice;

    @ApiModelProperty(value = "商品购买的数量")
    private Integer skuNum;

}